package transport;

public class ImmutablePoint {
	private final double x, y;

	public double getX() {
		return x;
	}

	public double getY() {
		return y;
	}

	public ImmutablePoint(double x, double y) {
		super();
		this.x = x;
		this.y = y;
	}

	public ImmutablePoint(ImmutablePoint point) {
		this.x = point.getX();
		this.y = point.getY();

	}

}
